package client.networking;

/**
 * The RMI call back interface which is specified to the server.
 */

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface ClientCallbackInterface extends Remote {
	/**
	 * Testing method used to send a string from the server to the client.
	 * @param string The string to send to the client.
	 */
	public void printTextString(String string) throws RemoteException;
	
	/**
	 * Refreshes the table with the tableID specified by the parameter.
	 * @param tableID A unique integer representing the table on the server.
	 */
	public void refreshTable(int tableID) throws RemoteException;
}
